Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

V5 Decimal numeric type in Move Vm #654

Merged
merged 17 commits into from
Sep 21, 2021

Conversation

0o-de-lally
Copy link
Collaborator

@0o-de-lally 0o-de-lally commented Aug 28, 2021

  • native function in move_vm including rust_decimal (rust)
  • tests for rust_decimal native (rust)
  • tests for casting and rounding large integers and irrationals (rust)
  • Move module Decimal.move
  • Decimal Struct for Move
  • functional tests for Decimal round trip from move to rust.
  • APIs for simple arithmetic operations add, sub, mul, div
  • power
  • square root
  • test for polynomials

@0o-de-lally 0o-de-lally added this to the 0Lv5.1 milestone Aug 28, 2021
@0o-de-lally 0o-de-lally linked an issue Aug 28, 2021 that may be closed by this pull request
5 tasks
@0o-de-lally 0o-de-lally merged commit e042010 into 0LNetworkCommunity:v5 Sep 21, 2021
0o-de-lally added a commit that referenced this pull request Sep 21, 2021
* add decimal native

* ol_decimal.rs tests

* decimal irrational number test

* change move decimal type to u128 to use throughout.

* patch negative number casting
0o-de-lally added a commit that referenced this pull request Sep 22, 2021
* add decimal native

* ol_decimal.rs tests

* decimal irrational number test

* change move decimal type to u128 to use throughout.

* patch negative number casting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Decimal native function exposed to move.
1 participant